<?php $this->fetch('public/head'); ?>
<!--tab标签-->
<div class="layui-tab layui-tab-brief">
    <div class="layui-tab-content">
        <div class="layui-tab-item layui-show">
            <form class="layui-form form-container" action="<?php echo url('update') ?>" method="post">
                <input type="hidden" name="id" value="<?php echo $row['id'] ?>" />
                <div class="layui-form-item">
                    <label class="layui-form-label">备注一</label>
                    <div class="layui-input-block">
                        <input type="text" name="title[tit_0]" value="<?php echo $row['title']['tit_0'] ?>"   lay-verify="required" placeholder="" class="layui-input"><input type="checkbox" name="title[tit_0_show]" value="1" 
                            <?php if ($row['title']['tit_0_show']==1): ?>
                            <?php echo 'checked' ?>
                            <?php else: ?>
                            <?php echo '' ?>
                            <?php endif ?>
                         lay-skin="primary"> <span>显示</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">备注二</label>
                    <div class="layui-input-block">
                        <input type="text" name="title[tit_1]" value="<?php echo $row['title']['tit_1'] ?>" placeholder="" autocomplete="off" class="layui-input"><input type="checkbox" name="title[tit_1_show]" value="1"
                        <?php if ($row['title']['tit_1_show']==1): ?>
                            <?php echo 'checked' ?>
                            <?php else: ?>
                            <?php echo '' ?>
                            <?php endif ?>
                         lay-skin="primary"> <span>显示</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">备注三</label>
                    <div class="layui-input-block">
                        <input type="text" name="title[tit_2]" value="<?php echo $row['title']['tit_2'] ?>" placeholder="" autocomplete="off" class="layui-input"><input type="checkbox" name="title[tit_2_show]" value="1"
                        <?php if ($row['title']['tit_2_show']==1): ?>
                            <?php echo 'checked' ?>
                            <?php else: ?>
                            <?php echo '' ?>
                            <?php endif ?>
                         lay-skin="primary"> <span>显示</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit lay-filter="*">提交</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

<?php $this->fetch('public/script'); ?>